#!/usr/bin/python3 

def A():
    b = 10
    def B():
        #nonlocal b
        #global b
        #b = 30 
        #b = b + 1
        c = b + 1
        return c 
    return B
#b = 20
F = A()
print (A()())
